package com.zyasdk.model;

import org.json.JSONException;
import org.json.JSONObject;

public class PayParm {
	/**
	 * params
	 */
	private JSONObject obj = new JSONObject();

	/**
	 * create PayParm
	 * @return
	 */
	public static PayParm create() {
		return new PayParm();
	}

	/**
	 * single
	 */
	private PayParm() {

	}
	

	/**
	 * package id
	 * @return
	 */
	public int getPackId() {
		return obj.optInt("packId");
	}

	/**
	 * set package id
	 * @param packId
	 */
	public void setPackId(int packId) {
		try {
			obj.put("packId", packId);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

	/**
	 * get pay company
	 * @return
	 */
	public String getPayCompany() {
		return obj.optString("payCompany");
	}

	/**
	 * set pay company
	 * @param payCompany
	 */
	public void setPayCompany(String payCompany) {
		try {
			obj.put("payCompany", payCompany);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

	/**
	 * get pay state
	 * @return
	 */
	public int getPayState() {
		return obj.optInt("payState");
	}

	/**
	 * set pay state
	 * @param payState
	 */
	public void setPayState(int payState) {
		try {
			obj.put("payState", payState);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

	/**
	 * get pay money
	 * @return
	 */
	public String getPayMoney() {
		return obj.optString("payMoney");
	}

	/**
	 * set pay money
	 * @param payMoney
	 */
	public void setPayMoney(String payMoney) {
		try {
			obj.put("payMoney", payMoney);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

	/**
	 * get pay unit
	 * @return
	 */
	public String getPayUnit() {
		return obj.optString("payUnit");
	}

	/**
	 * set pay unit
	 * @param payUnit
	 */
	public void setPayUnit(String payUnit) {
		try {
			obj.put("payUnit", payUnit);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

	/**
	 * get pay country
	 * @return
	 */
	public String getPayCountry() {
		return obj.optString("payCountry");
	}

	/**
	 * 
	 * @param payCountry
	 */
	public void setPayCountry(String payCountry) {
		try {
			obj.put("payCountry", payCountry);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

	public String getLanguage() {
		return obj.optString("language");
	}

	public void setLanguage(String language) {
		try {
			obj.put("language", language);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

	public String getPbindkey() {
		return obj.optString("pbindkey");
	}

	public void setPbindkey(String pbindkey) {
		try {
			obj.put("pbindkey", pbindkey);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

	public String getOrderNo() {
		return obj.optString("orderNo");
	}

	public void setOrderNo(String orderNo) {
		try {
			obj.put("orderNo", orderNo);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

	public String getCodeRemark() {
		return obj.optString("codeRemark");
	}

	public void setCodeRemark(String codeRemark) {
		try {
			obj.put("codeRemark", codeRemark);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

	public String getPhone() {
		return obj.optString("phone");
	}

	public void setPhone(String phone) {
		try {
			obj.put("phone", phone);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

	public String getOperators() {
		return obj.optString("operators");
	}

	public void setOperators(String operators) {
		try {
			obj.put("operators", operators);
		} catch (JSONException e) {
			e.printStackTrace();
		}
	}

}
